import java.io.Serializable;

/**
 * Created with IDEA
 * Author : wangfei
 * Date :  2016/7/21
 * Time : 17:42
 * Describe :
 */
public class User implements Serializable {

	private int id ;
	private String userName;
	private String password;
	public User(int id ,String userName ,String password){
		this.id = id;
		this.userName = userName;
		this.password = password;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	@Override
	public String toString() {
		return "User{" +
				"id=" + id +
				", userName='" + userName + '\'' +
				", password='" + password + '\'' +
				'}';
	}
}
